package com.boom.service.impl;

import com.boom.mapper.RoleMapper;
import com.boom.pojo.Role;
import com.boom.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleMapper roleMapper;


    @Override
    public List<Role> getRoleList() {
        return roleMapper.selectList(null);
    }
}
